package com.pojo;

import java.math.BigDecimal;

public class Food {
    private Integer id;
    private String name;
    private BigDecimal price;
    private String cate;
    private String imgpath;


    public Food() {
    }

    public Food(Integer id, String name, BigDecimal price, String cate, String imgpath) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.cate = cate;
        this.imgpath = imgpath;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getCate() {
        return cate;
    }

    public void setCate(String cate) {
        this.cate = cate;
    }

    public String getImgpath() {
        return imgpath;
    }

    public void setImgpath(String imgpath) {
        this.imgpath = imgpath;
    }

    @Override
    public String toString() {
        return "Food{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", cate='" + cate + '\'' +
                ", imgpath='" + imgpath + '\'' +
                '}';
    }
}
